<%@ page import="com.blandware.atleap.webapp.taglib.core.util.TaglibConstants"%>
<%@ include file="/WEB-INF/pages/common/taglibs.jsp" %>
<html:html xhtml="true">
    <head>
        <atleap:constants className="com.blandware.atleap.webapp.taglib.core.util.TaglibConstants" scope="page" />
        <script language="javascript">
            function returnToOpener() {
                var opener = window.opener;
                if ( opener == null ) {
                    window.close();
                } else {
                    var pageUrl = "${requestScope[pageScope.PAGE_URL]}";
                    opener.location.href = pageUrl;
                    window.close();
                }
            }
        </script>
    <head>

    <body onLoad="returnToOpener();">
    </body>
</html:html>
 